import request from '@/utils/request'
export function login(data) {
  return request.post('/login/loginCheck', data)
}

// 登录
export function getInfo(token) {
  return request.post('/login/loginCheck', { username: 'jhs', password: '123456' })
}

export function logout() {
  return request({
    url: '/vue-element-admin/user/logout',
    method: 'post'
  })
}
